package com.ruoyi.project.module.errorcode.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 错误代码表 api_errorcode
 * 
 * @author ruoyi
 * @date 2018-10-08
 */
public class Errorcode extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 错误代码ID */
	private Integer apiErrorcodeId;
	/** 所属项目ID */
	private Integer apiProjectnameId;
	/** 错误代码编号 */
	private Integer errorcode;
	/** 前端提示 */
	private String description;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateTime;
	/** 备注 */
	private String remark;

	public void setApiErrorcodeId(Integer apiErrorcodeId) 
	{
		this.apiErrorcodeId = apiErrorcodeId;
	}

	public Integer getApiErrorcodeId() 
	{
		return apiErrorcodeId;
	}
	public void setApiProjectnameId(Integer apiProjectnameId) 
	{
		this.apiProjectnameId = apiProjectnameId;
	}

	public Integer getApiProjectnameId() 
	{
		return apiProjectnameId;
	}

	public Integer getErrorcode() {
		return errorcode;
	}

	public void setErrorcode(Integer errorcode) {
		this.errorcode = errorcode;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apiErrorcodeId", getApiErrorcodeId())
            .append("apiProjectnameId", getApiProjectnameId())
            .append("errorcode", getErrorcode())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
